using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("Enum")]
	public class MonoEnum : MonoClass
	{
		public MonoEnum(IntPtr address)
			: base(address, "Enum")
		{
		}

		public override string ToString()
		{
			return method_13("ToString");
		}

		public T AsEnum<T>()
		{
			return (T)Enum.Parse(typeof(T), ToString());
		}
	}
}
